<template>
    <div style="padding: 20px;">
      <projectHeader  @tabClick="tabClick"></projectHeader>
      <OrderList ref="OrderList" />
    </div>
</template>

<!--
*************************************
*************************************
*************************************
*************************************
*************************************

同 charging_pile/index.vue

*************************************
*************************************
*************************************
*************************************
*************************************
-->
<script>
    import OrderList from "@/components/Common/order/OrderList.vue";
    export default {
      name: 'Consumer',
      components: { OrderList },
      data() {
        return {
          plateform:{
            value:1
          },//选择的平台项目
        };
      },
      mounted(){

      },
      methods: {
        tabClick(e){//平台切换
          this.plateform = {...e}
          console.log('this.plateform',this.plateform)
          this.$refs.OrderList.tabClick(e)
        },
      }
    }
</script>
<style lang="scss" scoped>

</style>
